<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <link rel="stylesheet" href="../public/stylesheets/style.css"> -->
    <link rel="stylesheet" href="../public/stylesheets/style.css">
</head>
<body>
    <div class="appindex">
        <div class="header">
            <!-- 上背景 -->
            <div class="navheader">上背景</div>
            <!-- 导航条 -->
            <div class="nav">
                <ul>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="link">小说文学</li>
                    <li class="serch">
                        <input type="text">
                        <button>
                            <span class="icon"></span>
                            <span class="text">搜索</span>
                        </button>
                    </li>
                </ul>

            </div>
        </div>
    </div>

    <!-- 内容部分 -->
    <div class="content">
        <!-- 左边书籍 -->
        <div class="bookList">
            <% for(let i = 0; i<books.length; i++) { %>
                <div class="bookItem">
                    <img class="bookImg" src="<%- books[i].bookimg%>" alt="">
                    <h3 class="title"><%- books[i].bookname%></h3>
                    <p class="author"><%- books[i].author%></p>
                    <div class="cataory"><%- books[i].viewcount%></div>
                </div>
            <% } %>
        </div>
        <!-- 右边广告 -->
        <div class="erweima">
            <img src="" alt="">
        </div>
    </div>
</body>
</html>